<?php    
    return array(
        'initial' => 'new',
        'node' => array(
            array(
                'id'            => 'new',
                'label'         => Yii::t('site','New'),
                'transition'    => array('accepted'=>'StatusHistory::addStatus($this,\'issueStatus\')','invalid'=>'StatusHistory::addStatus($this,\'issueStatus\')','duplicate'=>'StatusHistory::addStatus($this,\'issueStatus\')')
            ),
            array(
                'id'            => 'accepted',
                'label'         => Yii::t('site','Accepted'),
                'transition'    => array(
                    'started'=>'StatusHistory::addStatus($this,\'issueStatus\')',
                    'fixed'=>'StatusHistory::addStatus($this,\'issueStatus\')',
                    'wontfix'=>'StatusHistory::addStatus($this,\'issueStatus\')')
            ),
            array(
                'id'            => 'started',
                'label'         => Yii::t('site','Started'),
                'transition'    => array(
                    'fixed'=>'StatusHistory::addStatus($this,\'issueStatus\')',
                    'wontfix'=>'StatusHistory::addStatus($this,\'issueStatus\')',
                    'done'=>'StatusHistory::addStatus($this,\'issueStatus\')'                
                )
            ),
            array(
                'id'            => 'invalid',
                'label'         => Yii::t('site','Invalid')
            ),
            array(
                'id'            => 'duplicate',
                'label'         => Yii::t('site','Duplicate'),
            ),
            array(
                'id'            => 'fixed',
                'label'         => Yii::t('site','Fixed'),
                'transition'    => array('done'=>'StatusHistory::addStatus($this,\'issueStatus\')')
            ),
            array(
                'id'            => 'wontfix',
                'label'         => Yii::t('site',"Won't Fix"),
                'transition'    => array('fixed'=>'StatusHistory::addStatus($this,\'issueStatus\')','done'=>'StatusHistory::addStatus($this,\'issueStatus\')')
            ),
            array(
                'id'            => 'done',
                'label'         => Yii::t('site','Done'),
            ),
        )
    )
?>
